package com.cq.hd.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cq.hd.member.po.TbBusinessPointsMallStatPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * <p>
 * 商家积分商城设置表 Mapper 接口
 * </p>
 */
@Mapper
public interface TbBusinessPointsMallStatMapper extends BaseMapper<TbBusinessPointsMallStatPo> {
    void updateProductNum(@Param("businessId") Long businessId, @Param("num") Integer num);

    void updateUserNum(@Param("businessId") Long businessId, @Param("num") Integer num);

    void updateTotalPayPoints(@Param("businessId") Long businessId, @Param("points") BigDecimal points);

    void updateTotalExchangedPoints(@Param("businessId") Long businessId, @Param("points") BigDecimal points);
}
